package com.chagee.store.operation.api.request;

import com.chagee.store.operation.api.bo.FileBO;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * @Author : hk
 * @Date : 2025/4/25
 */
public class OfflinePayRequest implements Serializable {

	/**
	 * 单据编号
	 */
	@NotBlank(message = "单据编号不能为空")
	private String settlementNo;

	/**
	 * 支付凭证
	 */
	private List<FileBO> payDocuments;

	/**
	 * 创建交易单用户id
	 */
	@NotBlank(message = "用户id不能为空")
	private String createPersonId;

	/**
	 * 线下支付确认人
	 */
	@NotBlank(message = "用户姓名不能为空")
	private String payPersonName;


	public OfflinePayRequest() {
	}

	public OfflinePayRequest(String settlementNo, List<FileBO> payDocuments, String createPersonId, String payPersonName) {
		this.settlementNo = settlementNo;
		this.payDocuments = payDocuments;
		this.createPersonId = createPersonId;
		this.payPersonName = payPersonName;
	}

	public String getSettlementNo() {
		return settlementNo;
	}

	public void setSettlementNo(String settlementNo) {
		this.settlementNo = settlementNo;
	}

	public List<FileBO> getPayDocuments() {
		return payDocuments;
	}

	public void setPayDocuments(List<FileBO> payDocuments) {
		this.payDocuments = payDocuments;
	}

	public String getCreatePersonId() {
		return createPersonId;
	}

	public void setCreatePersonId(String createPersonId) {
		this.createPersonId = createPersonId;
	}

	public String getPayPersonName() {
		return payPersonName;
	}

	public void setPayPersonName(String payPersonName) {
		this.payPersonName = payPersonName;
	}
}
